package common;

/**
 * Author: mb25428
 * Create Date:  3/23/2013
 * 
 * Comments: Store the user basic information
 * JDK version: <JDK 1.7>
 * 
 * Modified By: mb25428
 * Modified Date: 3/23/2013
 * Why&What is Modified: add some attribute.
 * 
 */


import java.awt.image.BufferedImage;

import org.primefaces.model.StreamedContent;

public class ImageBean {
	private String name;
	private byte[] image;
	private String contentType;
	private int width;
	private int height;
	private StreamedContent imageStream;
	private BufferedImage buferedImage;
	
	public StreamedContent getImageStream() {
		return imageStream;
	}
	public void setImageStream(StreamedContent imageStream) {
		this.imageStream = imageStream;
	}
	public BufferedImage getBuferedImage() {
		return buferedImage;
	}
	public void setBuferedImage(BufferedImage buferedImage) {
		this.buferedImage = buferedImage;
	}
	public String getName() {
		return name;
	}
	public void setName(String name) {
		this.name = name;
	}
	public byte[] getImage() {
		return image;
	}
	public void setImage(byte[] image) {
		this.image = image;
	}
	public String getContentType() {
		return contentType;
	}
	public void setContentType(String contentType) {
		this.contentType = contentType;
	}
	public int getWidth() {
		return width;
	}
	public void setWidth(int width) {
		this.width = width;
	}
	public int getHeight() {
		return height;
	}
	public void setHeight(int height) {
		this.height = height;
	}
	
}
